import React,{Component} from 'react';
import {HashRouter as Router,Route,NavLink,Redirect,Switch,WithRouter, withRouter} from 'react-router-dom'
import loadable from '../util/loadable'
const Mytaobao = loadable(()=>import('./Mytaobao'))
class Openpage extends Component{
    constructor(){
        super();
        this.state={

        }
    }
    componentDidMount(){
        setTimeout(()=>{
            this.props.history.push('/Mytaobao')
            console.log(123)
        },2000)
    }
    render(){
        return(
            <div className="box">
                
                    <img src="/img/1.png"/>
                    
            </div>
        )
    }
}
export default withRouter(Openpage)